package com.yanqu.road.entity.drugstore.config;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 药房的正确配方
 */
public class DrugStorePrescriptionDispenseInfo {

    /**
     * 药材顺序
     */
    private List<Integer> crudeDrugList = new ArrayList<>();
    /**
     * 药材 k:药材id v数量
     */
    private Map<Integer, Integer> crudeDrugMap = new HashMap<>();
    /**
     * 药引
     */
    private int drugIntroductionId;
    /**
     * 医嘱id
     */
    private int orderId;

    public DrugStorePrescriptionDispenseInfo() {
    }

    public DrugStorePrescriptionDispenseInfo(Map<Integer, Integer> crudeDrugMap, int drugIntroductionId, int orderId) {
        this.crudeDrugMap = crudeDrugMap;
        this.drugIntroductionId = drugIntroductionId;
        this.orderId = orderId;
    }

    public List<Integer> getCrudeDrugList() {
        return crudeDrugList;
    }

    public void setCrudeDrugList(List<Integer> crudeDrugList) {
        this.crudeDrugList = crudeDrugList;
    }

    public Map<Integer, Integer> getCrudeDrugMap() {
        return crudeDrugMap;
    }

    public void setCrudeDrugMap(Map<Integer, Integer> crudeDrugMap) {
        this.crudeDrugMap = crudeDrugMap;
    }

    public int getDrugIntroductionId() {
        return drugIntroductionId;
    }

    public void setDrugIntroductionId(int drugIntroductionId) {
        this.drugIntroductionId = drugIntroductionId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }
}

